<?php

namespace App\Http\Controllers\DesignPattern\Creational\Builder;

use App\Model\DesignPattern\Creational\Builder\Burger;
use App\Model\DesignPattern\Creational\Builder\BurgerBuilder;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class BurgerController extends Controller
{
    public function index($name)
    {
        $res = new Burger(new BurgerBuilder('size'));
        dd($res->get($name)) ;
    }
}
